import ajax from './ajax'

const BASE = ''

// 每隔一分钟请求数据
export const reqData = (currentTime) => ajax(BASE + '/bolelao/resume/new/get', {currentTime})

export const reqStartTesk = ({...values}) => ajax(BASE + '/openapi/boss/message/zhipin',{...values}, 'post')

//搜索条件新增及触发boss执行接口
export const reqBossTrigger = ({...values}) => ajax('/bolelao/condition/add', {...values}, 'post')
// 搜索条件查询接口
export const reqSearchQuery = () => ajax(BASE + '/bolelao/condition/get')
// 搜索条件取消接口
export const reqSearchCancel = (conditionId) => ajax(BASE + '/bolelao/condition/cancel', {conditionId}, 'post')
// 简历查询接口
export const reqResumeQuery = () => ajax('/resume/get')
// 简历内推接口
// export const reqResumePush = (nosUrl, jobId) => ajax(BASE + '/bole/upload', {nosUrl, jobId}, 'post')
export const reqResumePush = () => ajax(BASE + '/bole/upload',)
